from django.contrib import admin
import blog.models as mo


class EmployeeAdmin(admin.ModelAdmin):
    list_display = ('name', 'name01', 'pub_time')
    list_filter = ('pub_time', )


admin.site.register(mo.Employee, EmployeeAdmin)  # 加入数据到超级管理员
